﻿<%@ Register TagPrefix="ucCommon" TagName="Common" Src="../Common/Inc/Common.ascx" %>
<%@ Register TagPrefix="ucTop" TagName="Top" Src="../Common/Inc/Top.ascx" %>
<%@ Register TagPrefix="ucMenu" TagName="Menu" Src="../Common/Inc/Menu.ascx" %>
<%@ Register TagPrefix="ucTabTitle" TagName="TabTitle" Src="../Common/Inc/TabTitle.ascx" %>
<%@ Register TagPrefix="ucCopyright" TagName="Copyright" Src="../Common/Inc/Copyright.ascx" %>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Ref2011r.aspx.cs" Inherits="Updms.Ref.Ref2011r" %>
<%@ Register Assembly="ChartFX.WebForms" Namespace="ChartFX.WebForms" TagPrefix="chartfx7" %>
<%@ Register Assembly="ChartFX.WebForms.Adornments" Namespace="ChartFX.WebForms.Adornments" TagPrefix="chartfxadornments" %>
<%@ Register Assembly="ChartFX.WebForms" Namespace="ChartFX.WebForms.Galleries" TagPrefix="chartfx7galleries" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>▒ UPDMS [Ref2011r] ▒▒▒▒▒▒▒▒▒▒</title>
<ucCommon:Common id="Common" runat="server"></ucCommon:Common>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager runat="server" id="ScriptManager1" EnableScriptGlobalization="true"></asp:ScriptManager>

<table id="table_frame">
	<tr>
		<td id="top_area" colspan="2">
			<!-- Top 시작 -->
			<ucTop:Top id="Top" runat="server"></ucTop:Top>
			<!-- Top 끝 -->
		</td>
	</tr>
	<tr>
		<td id="menu_area">
			<!-- 메뉴 시작 -->
			<ucMenu:Menu id="Menu" runat="server"></ucMenu:Menu>
			<!-- 메뉴 끝 -->	
		</td>
		<td id="contents_area">
			<!-- 제목 시작 -->
			<ucTabTitle:TabTitle id="TabTitle" TagPrefixs="Ref2011r" runat="server"></ucTabTitle:TabTitle>
			<!-- 제목 끝 -->
			<!-- AJAX 시작 -->
			<asp:UpdatePanel ID="UpdatePanel1" runat="server">
			<ContentTemplate>
			<!-- 버튼 시작 -->
			<div class="button_area">
				<asp:linkbutton id="ibtn_chart" Text="챠트" runat="server" CssClass="ibtn ibtn_chart" OnClientClick="return chkSearch(event)" OnClick="ibtn_chart_Click"></asp:linkbutton>
			</div>
			<!-- 버튼 끝 -->
			<!-- 검색 시작 -->
			<table class="table_search">
			<tr>
				<td class="lbl"><asp:Literal id="ltr_search_shop_id" Text="업소명" runat="server" /></td>
				<td class="ctl"><img src="../Common/Images/application_form.png" align="absmiddle" alt="multi_check" class="hand" onclick="showHiddenDiv('div_search_shop_id', event);" /></td>
				<td class="lbl"><asp:Literal id="ltr_search_nick_nm" Text="예명" runat="server" /></td>
				<td class="ctl"><asp:textbox id="txt_search_nick_nm" runat="server" Width="97%" CssClass="ib_b"></asp:textbox></td>
				<td class="lbl"><asp:Literal id="ltr_search_tour_dt" Text="방문일" runat="server" /></td>
				<td class="ctl" colspan="3"><asp:textbox id="txt_search_tour_dt_from" runat="server" CssClass="ib_b_dt"></asp:textbox>&nbsp;<img src="../Common/Images/calendar.png" id="ci_search_tour_dt_from" class="ci_calendar" runat="server">&nbsp;~&nbsp;<asp:textbox id="txt_search_tour_dt_to" runat="server" CssClass="ib_b_dt"></asp:textbox>&nbsp;<img src="../Common/Images/calendar.png" id="ci_search_tour_dt_to" class="ci_calendar" runat="server" /></td>
			</tr>
			<tr>
				<td class="lbl" width="10%"><asp:Literal id="ltr_search_homerun_yn" Text="홈런" runat="server" /></td>
				<td class="ctl" width="15%"><asp:DropDownList id="ddl_search_homerun_yn" runat="server" CssClass="ddl"></asp:DropDownList></td>
				<td class="lbl" width="10%"><asp:Literal id="ltr_search_contents" Text="내용" runat="server" /></td>
				<td class="ctl" width="15%"><asp:textbox id="txt_search_contents" runat="server" Width="97%" CssClass="ib_b"></asp:textbox></td>
				<td class="lbl" width="10%"><asp:Literal id="ltr_search_order_by" Text="정렬방법" runat="server" /></td>
				<td class="ctl" width="15%"><asp:dropdownlist id="ddl_search_order_by" runat="server" CssClass="ddl"></asp:dropdownlist></td>
				<td class="lbl" width="10%"><asp:Literal id="ltr_search_chart_width" Text="넓이" runat="server" /></td>
				<td class="ctl" width="15%"><asp:dropdownlist id="ddl_search_chart_width" runat="server" CssClass="ddl"></asp:dropdownlist></td>
			</tr>
			</table>
			<!-- 검색 끝 -->
			<!-- 디테일1 시작 -->
			<table class="default">
				<tr>
					<td valign="top" colspan="2">
						<!-- 인원별 방문 시작 -->
						<div class="sub_title_icon"><asp:Literal id="ltr_total_price_n_cnt_by_girl" Text="인원별 방문" runat="server" /></div>
						<table class="default">
							<tr>
								<td class="td_box">
									<chartfx7:chart id="chart_total_price_n_cnt_by_girl" runat="server" width="1056px" height="400px"  Palette="ChartFX6.ChartFX6" ImageSettings-Interactive="False" PlotAreaMargin-Left="100" PlotAreaMargin-Top="12">
										<AxisY Title-Text="금액 (원)">
										<Grids Major-Style="Dash" Interlaced="True"></Grids>
											<LabelsFormat CustomFormat="###,###,##0" />
										</AxisY>

										<AxisX Title-Text="" LabelAngle="90">
										<Grids Major-Visible="False"></Grids>
										</AxisX>

										<MainPane AxisY-Title-Text="금액 (원)"></MainPane>
										<SpecialObjects>
											<chartfxadornments:SimpleBorder AssemblyName="ChartFX.WebForms.Adornments" Color="Transparent"
												Type="None">
											</chartfxadornments:SimpleBorder>
											<chartfxadornments:GradientBackground AssemblyName="ChartFX.WebForms.Adornments"
												ColorFrom="Transparent" EffectArea="0">
											</chartfxadornments:GradientBackground>
										</SpecialObjects>
										<Series>
											<chartfx7:SeriesAttributes Gallery="Lines" Text="합계금액" PointLabels-Visible="true" PointLabels-LineAlignment="Far" />
											<chartfx7:SeriesAttributes AxisY="Secondary Y Axis" Gallery="Bar" PointLabels-LineAlignment="Near"
												PointLabels-Visible="True" Text="방문횟수" />
											<chartfx7:SeriesAttributes />
										</Series>
										<AxisY2 Title-Text="합계금액 (원)" Visible="False">
											<Grids Major-Visible="False" />
											<LabelsFormat CustomFormat="###,###,##0" />
										</AxisY2>
										<LegendBox Dock="Top">
										</LegendBox>
									</chartfx7:chart>
								</td>
							</tr>
						</table>
						<!-- 인원별 방문 끝 -->
					</td>
				</tr>
				<tr><td colspan="2"></td></tr>
				<tr>
					<td valign="top">
						<!-- 업소별 방문 시작 -->
						<div class="sub_title_icon"><asp:Literal id="ltr_total_price_n_cnt_by_shop" Text="업소별 방문" runat="server" /></div>
						<table class="default">
							<tr>
								<td class="td_box">
									<chartfx7:chart id="chart_total_price_n_cnt_by_shop" runat="server" width="640px" height="400px"  Palette="ChartFX6.ChartFX6" ImageSettings-Interactive="False" PlotAreaMargin-Left="100" PlotAreaMargin-Top="12">
										<AxisY Title-Text="금액 (원)">
										<Grids Major-Style="Dash" Interlaced="True"></Grids>
											<LabelsFormat CustomFormat="###,###,##0" />
										</AxisY>

										<AxisX Title-Text="" LabelAngle="90">
										<Grids Major-Visible="False"></Grids>
										</AxisX>

										<MainPane AxisY-Title-Text="금액 (원)"></MainPane>
										<SpecialObjects>
											<chartfxadornments:SimpleBorder AssemblyName="ChartFX.WebForms.Adornments" Color="Transparent"
												Type="None">
											</chartfxadornments:SimpleBorder>
											<chartfxadornments:GradientBackground AssemblyName="ChartFX.WebForms.Adornments"
												ColorFrom="Transparent" EffectArea="0">
											</chartfxadornments:GradientBackground>
										</SpecialObjects>
										<Series>
											<chartfx7:SeriesAttributes Gallery="Lines" Text="합계금액" PointLabels-Visible="true" PointLabels-LineAlignment="Far" />
											<chartfx7:SeriesAttributes AxisY="Secondary Y Axis" Gallery="Bar" PointLabels-LineAlignment="Near"
												PointLabels-Visible="True" Text="방문횟수" />
											<chartfx7:SeriesAttributes />
										</Series>
										<AxisY2 Title-Text="합계금액 (원)" Visible="False">
											<Grids Major-Visible="False" />
											<LabelsFormat CustomFormat="###,###,##0" />
										</AxisY2>
										<LegendBox Dock="Top">
										</LegendBox>
									</chartfx7:chart>
								</td>
							</tr>
						</table>
						<!-- 업소별 방문 끝 -->
					</td>
					<td valign="top">
						<!-- 요일별 방문 시작 -->
						<div class="sub_title_icon"><asp:Literal id="ltr_tour_cnt_by_weekday" Text="요일별 방문" runat="server" /></div>
						<table class="default">
							<tr>
								<td class="td_box">
									<chartfx7:chart id="chart_tour_cnt_by_weekday" runat="server" width="400px" height="400px" Palette="ChartFX6.ChartFX6" ImageSettings-Interactive="False">
										<AxisY Title-Text="" Step="10">
										<Grids Major-Style="Solid" Interlaced="True"></Grids>
											<LabelsFormat CustomFormat="###,###,##0" />
										</AxisY>

										<AxisX LabelAngle="90" Title-Text="">
										</AxisX>

										<AllSeries Gallery="Polar"></AllSeries>

										<LegendBox Visible="False"></LegendBox>

										<MainPane AxisY-Title-Text=""></MainPane>
										<SpecialObjects>
											<chartfxadornments:SimpleBorder AssemblyName="ChartFX.WebForms.Adornments" Color="Transparent"
												Type="None">
											</chartfxadornments:SimpleBorder>
											<chartfxadornments:GradientBackground AssemblyName="ChartFX.WebForms.Adornments"
												ColorFrom="Transparent" EffectArea="0">
											</chartfxadornments:GradientBackground>
											<chartfx7galleries:Radar>
											</chartfx7galleries:Radar>
										</SpecialObjects>
										<Series>
											<chartfx7:SeriesAttributes />
											<chartfx7:SeriesAttributes />
											<chartfx7:SeriesAttributes />
										</Series>
									</chartfx7:chart>
								</td>
							</tr>
						</table>
						<!-- 요일별 방문 끝 -->
					</td>
				</tr>
			</table>
			<div style="height:20px"></div>
			<table class="default">
				<tr>
					<td valign="top">
						<!-- 인원별 홈런 시작 -->
						<div class="sub_title_icon"><asp:Literal id="ltr_homerun_cnt_by_girl" Text="인원별 홈런" runat="server" /></div>
						<table class="default">
							<tr>
								<td class="td_box">
									<chartfx7:chart id="chart_homerun_cnt_by_girl" runat="server" height="280px" width="280px" Palette="ChartFX6.ChartFX6" ImageSettings-Interactive="False">
										<AxisY Title-Text="횟수">
										<Grids Major-Style="Dash" Interlaced="True"></Grids>
											<LabelsFormat CustomFormat="###,###,##0" />
										</AxisY>

										<AxisX Title-Text="">
										<Grids Major-Visible="False"></Grids>
										</AxisX>

										<AllSeries Gallery="Pie" PointLabels-Font="Tahoma, 8pt"></AllSeries>

										<LegendBox ContentLayout="Near" Visible="False"></LegendBox>

										<MainPane AxisY-Title-Text="횟수"></MainPane>
										<SpecialObjects>
											<chartfxadornments:SimpleBorder AssemblyName="ChartFX.WebForms.Adornments" Color="Transparent"
												Type="None">
											</chartfxadornments:SimpleBorder>
											<chartfxadornments:GradientBackground AssemblyName="ChartFX.WebForms.Adornments"
												ColorFrom="Transparent" EffectArea="0">
											</chartfxadornments:GradientBackground>
											<chartfx7galleries:Pie ExplodingMode="All" SliceSeparation="10">
											</chartfx7galleries:Pie>
										</SpecialObjects>
									<Series>
										<chartfx7:SeriesAttributes />
										<chartfx7:SeriesAttributes />
										<chartfx7:SeriesAttributes />
									</Series>
										<View3D Enabled="True" />
									</chartfx7:chart>
								</td>
							</tr>
						</table>
						<!-- 인원별 홈런 끝 -->
					</td>
					<td>
						<!-- 업소별 홈런 시작 -->
						<div class="sub_title_icon"><asp:Literal id="ltr_homerun_cnt_by_shop" Text="업소별 홈런" runat="server" /></div>
						<table class="default">
							<tr>
								<td class="td_box">
									<chartfx7:chart id="chart_homerun_cnt_by_shop" runat="server" height="280px" width="280px" Palette="ChartFX6.ChartFX6" ImageSettings-Interactive="False">
										<AxisY Title-Text="횟수">
										<Grids Major-Style="Dash" Interlaced="True"></Grids>
											<LabelsFormat CustomFormat="###,###,##0" />
										</AxisY>

										<AxisX Title-Text="">
										<Grids Major-Visible="False"></Grids>
										</AxisX>

										<AllSeries Gallery="Pie" PointLabels-Font="Tahoma, 8pt"></AllSeries>

										<LegendBox ContentLayout="Near" Visible="False"></LegendBox>

										<MainPane AxisY-Title-Text="횟수"></MainPane>
										<SpecialObjects>
											<chartfxadornments:SimpleBorder AssemblyName="ChartFX.WebForms.Adornments" Color="Transparent"
												Type="None">
											</chartfxadornments:SimpleBorder>
											<chartfxadornments:GradientBackground AssemblyName="ChartFX.WebForms.Adornments"
												ColorFrom="Transparent" EffectArea="0">
											</chartfxadornments:GradientBackground>
											<chartfx7galleries:Pie ExplodingMode="All" SliceSeparation="10">
											</chartfx7galleries:Pie>
										</SpecialObjects>
									<Series>
										<chartfx7:SeriesAttributes />
										<chartfx7:SeriesAttributes />
										<chartfx7:SeriesAttributes />
									</Series>
										<View3D Enabled="True" />
									</chartfx7:chart>
								</td>
							</tr>
						</table>
						<!-- 업소별 홈런 끝 -->
					</td>
					<td>
					<!-- 업소별 홈런율 시작 -->
						<div class="sub_title_icon"><asp:Literal id="ltr_homerun_avg_by_shop" Text="업소별 홈런율" runat="server" /></div>
						<table class="default">
							<tr>
								<td class="td_box">
									<chartfx7:chart id="chart_homerun_avg_by_shop" runat="server" width="500px" height="280px"  Palette="ChartFX6.ChartFX6" ImageSettings-Interactive="False" PlotAreaMargin-Left="100" PlotAreaMargin-Top="12">
										<AxisY Title-Text="">
										<Grids Major-Style="Dash" Interlaced="True"></Grids>
											<LabelsFormat CustomFormat="###,###,##0" />
										</AxisY>

										<AxisX Title-Text="" LabelAngle="90">
										<Grids Major-Visible="False"></Grids>
										</AxisX>

										<MainPane AxisY-Title-Text="방문횟수"></MainPane>
										<SpecialObjects>
											<chartfxadornments:SimpleBorder AssemblyName="ChartFX.WebForms.Adornments" Color="Transparent"
												Type="None">
											</chartfxadornments:SimpleBorder>
											<chartfxadornments:GradientBackground AssemblyName="ChartFX.WebForms.Adornments"
												ColorFrom="Transparent" EffectArea="0">
											</chartfxadornments:GradientBackground>
										</SpecialObjects>
										<Series>
											<chartfx7:SeriesAttributes Gallery="Lines" Text="방문횟수" PointLabels-Visible="true" PointLabels-LineAlignment="Far" />
											<chartfx7:SeriesAttributes AxisY="Secondary Y Axis" Gallery="Bar" PointLabels-LineAlignment="Near"
												PointLabels-Visible="True" Text="홈런율" />
											<chartfx7:SeriesAttributes />
										</Series>
										<AxisY2 Title-Text="홈런율" Visible="False">
											<Grids Major-Visible="False" />
											<LabelsFormat CustomFormat="###,###,##0.##" />
										</AxisY2>
										<LegendBox Dock="Top">
										</LegendBox>
									</chartfx7:chart>
								</td>
							</tr>
						</table>
						<!-- 업소별 홈런율 끝 -->
					</td>
				</tr>
			</table>
			<div style="height:20px"></div>
			<table cellspacing="0" cellpadding="0" border="0" width="100%">
				<tr>
					<td valign="top" width="35%">
						<!--최근방문정보 시작-->
						<div class="sub_title_icon"><asp:Literal id="ltr_stitle_recent_tour" Text="최근방문정보" runat="server" /></div>
						<table cellspacing="0" cellpadding="0" width="100%" border="0">
							<tr>
								<td><asp:GridView ID="GridView1" CssClass="table_gridview" GridLines="None" runat="server" AutoGenerateColumns="False" OnRowDataBound="GridView1_RowDataBound" DataKeyNames="Shop_Id">
										<Columns>
											<asp:BoundField HeaderText="N">
												<ItemStyle HorizontalAlign="Center" Width="8%" />
											</asp:BoundField>
											<asp:BoundField DataField="Shop_Id" HeaderText="Shop_Id(X)" Visible="False" />
											<asp:BoundField DataField="Shop_Nm" HeaderText="업소" HtmlEncode="False">
												<ItemStyle HorizontalAlign="Center" Width="22%" />
											</asp:BoundField>
											<asp:BoundField DataField="Nick_Nm" HeaderText="예명" HtmlEncode="False">
												<ItemStyle HorizontalAlign="Center" Width="20%" />
											</asp:BoundField>
											<asp:BoundField DataField="Cnt" HeaderText="경과일" HtmlEncode="False">
												<ItemStyle HorizontalAlign="Right" Width="17%" />
											</asp:BoundField>
											<asp:BoundField DataField="Tour_Dt" HeaderText="최근방문일" HtmlEncode="False">
												<ItemStyle HorizontalAlign="Center" Width="24%" />
											</asp:BoundField>
											<asp:BoundField DataField="Attach_File_Info" HeaderText="파일" HtmlEncode="False">
												<ItemStyle HorizontalAlign="Center" Width="9%" />
											</asp:BoundField>
										</Columns>
										<EmptyDataTemplate>
											<div id="no_data"></div>
										</EmptyDataTemplate>
									</asp:GridView>
								</td>
							</tr>
						</table>
						<!--최근방문정보 끝-->
					</td>
					<td width="1%">
					<td valign="top" width="64%">
						<!-- 시간대별 방문 시작 -->
						<div class="sub_title_icon"><asp:Literal id="ltr_stitle_tour_by_hour" Text="시간대별 방문" runat="server" /></div>
						<table class="default">
							<tr>
								<td class="td_box">
									<chartfx7:chart id="chart_tour_by_hour" runat="server" width="640px" height="318px"  Palette="ChartFX6.ChartFX6" ImageSettings-Interactive="False" PlotAreaMargin-Left="100" PlotAreaMargin-Top="12">
										<AxisY Title-Text="">
										<Grids Major-Style="Dash" Interlaced="True"></Grids>
											<LabelsFormat CustomFormat="###,###,##0" />
										</AxisY>

										<AxisX Title-Text="" LabelAngle="90">
										<Grids Major-Visible="False"></Grids>
										</AxisX>

										<MainPane AxisY-Title-Text="방문횟수"></MainPane>
										<SpecialObjects>
											<chartfxadornments:SimpleBorder AssemblyName="ChartFX.WebForms.Adornments" Color="Transparent"
												Type="None">
											</chartfxadornments:SimpleBorder>
											<chartfxadornments:GradientBackground AssemblyName="ChartFX.WebForms.Adornments"
												ColorFrom="Transparent" EffectArea="0">
											</chartfxadornments:GradientBackground>
										</SpecialObjects>
										<Series>
											<chartfx7:SeriesAttributes Gallery="Lines" Text="방문횟수" PointLabels-Visible="true" PointLabels-LineAlignment="Far" />
											<chartfx7:SeriesAttributes AxisY="Secondary Y Axis" Gallery="Bar" PointLabels-LineAlignment="Near"
												PointLabels-Visible="True" Text="금액" />
											<chartfx7:SeriesAttributes />
										</Series>
										<AxisY2 Title-Text="금액" Visible="False">
											<Grids Major-Visible="False" />
											<LabelsFormat CustomFormat="###,###,##0.##" />
										</AxisY2>
										<LegendBox Dock="Top">
										</LegendBox>
									</chartfx7:chart>
								</td>
							</tr>
						</table>
						<!-- 시간대별 방문횟수,금액 끝 -->
					</td>
				</tr>
			</table>
			
			<!-- 디테일1 끝 -->
			<!-- 리스트셋 시작 -->
			<!-- 리스트셋 끝 -->
			<div id="div_search_shop_id" class="div_scroll div_multi_box" style="display:none;height:200px;width:140px;position:absolute;overflow-y:auto;">
				<asp:CheckBoxList id="cbl_search_shop_id" runat="server" RepeatDirection="Vertical" CssClass="cbl_vertical"></asp:CheckBoxList>
			</div>
			<!-- 카피라이트 시작 -->
			<ucCopyright:Copyright id="Copyright" runat="server"></ucCopyright:Copyright>
			<!-- 카피라이트 끝 -->
			<!-- 히든값 시작 -->
			<div id="hdn_data">
			<asp:label id="lbl_pk" runat="server"></asp:label>
			<asp:Label id="lbl_search_flag" runat="server"></asp:Label>
			</div>
			<!-- 히든값 끝 -->
			<!-- CalendarExtender -->
			<act:CalendarExtender ID="ce_search_tour_dt_from" 
				TargetControlID="txt_search_tour_dt_from"
				Format="yyyy-MM-dd"
				PopupButtonID="ci_search_tour_dt_from"
				EnableViewState="False"
				CssClass="calendar"
				runat="server">
			</act:CalendarExtender>
			<act:CalendarExtender ID="ce_search_tour_dt_to" 
				TargetControlID="txt_search_tour_dt_to"
				Format="yyyy-MM-dd"
				PopupButtonID="ci_search_tour_dt_to"
				EnableViewState="False"
				CssClass="calendar"
				runat="server">
			</act:CalendarExtender>
			</ContentTemplate>
			</asp:UpdatePanel>
			<!-- AJAX 끝 -->
		</td>
	</tr>
</table>

<asp:updateprogress AssociatedUpdatePanelID="UpdatePanel1" ID="updateProgress" runat="server">
	<progresstemplate>
		<div id="progressBackgroundFilter"></div>
		<div id="processMessage">
			<div id="processing"></div>
			<img src="../Common/Images/processing_img.gif" />
		</div>
	</progresstemplate>
</asp:updateprogress>

</form>
<script type="text/javascript" language="javascript" defer="defer">
	//검색
	function chkSearch(evt) {
		var e = (!evt) ? window.event : evt;
		var keyCode = e.keyCode;

		//날짜형식
		if (!isDateHyphen($F("txt_search_tour_dt_from"))) {
			msgBox.alert(getMsg(MSG_ERR_082), setFocus, "txt_search_tour_dt_from", keyCode); //잘못된 날짜형식입니다.(YYYY-MM-DD)
			return false;
		}
		//날짜형식
		if (!isDateHyphen($F("txt_search_tour_dt_to"))) {
			msgBox.alert(getMsg(MSG_ERR_082), setFocus, "txt_search_tour_dt_to", keyCode); //잘못된 날짜형식입니다.(YYYY-MM-DD)
			return false;
		}

		// 검색기간
		if (!isDateSeq($F("txt_search_tour_dt_from"), $F("txt_search_tour_dt_to"))) {
			msgBox.alert(getMsg(MSG_ERR_022), null, null, keyCode); //시작일자가 종료일자보다 늦을수 없습니다
			return false;
		}
		return true;
	}

	//엔터검색
	function enterSearchOnPage(evt) {
		var e = (!evt) ? window.event : evt;
		var keyCode = e.keyCode;

		if (keyCode == 13) {
			if (chkSearch(evt)) {
				__doPostBack('ibtn_chart', '');
			}
		}
	}
</script>
</body>
</html>